# 数学函数
import math
print(math.sin(3))
print(math.hypot(6, 7))
print(math.tan(2))
# 布尔类型
b1 = True
b2 = False
print(b1, b2)
print(type(b1))
print(type(b2))
# bin ()将整数类型转换为二进制整数的字符串形式
# oct ()将整数类型转换为八进制整数的字符串形式
print(bin(60))
print(bin(0o123))
print(oct(60))
print(oct(0b1010))
# 逻辑运算符
print(True and False)
print(True and True)
print(True or False)
print(not False)
# 成员运算符
str1 = 'hello'
print('h' in str1)
print('a' in str1)
print('c' not in str1)
print('o' not in str1)
